package com.example.plantuml;

public class App {
    public static void main(String[] args) {
        // Silence Log4j2 StatusLogger if any dependency uses it.
        System.setProperty("log4j2.disable.jmx", "true");
        System.setProperty("org.apache.logging.log4j.simplelog.StatusLogger.level", "OFF");
        System.setProperty("org.apache.logging.log4j.level", "OFF");
        System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "off");
        Runtime.getRuntime().addShutdownHook(new Thread(LocalPlantUmlServerLauncher::stopIfRunning));
        new UiFrame().showWindow();
    }
}


